package com.itheima.reggie.service;

import com.itheima.reggie.entity.Address;

import java.util.List;

public interface AddressService {

    List<Address> List(Long user);

    void addAddress(Address address);

    void updateDefault( Long addressId, Long userId);

    Address findById(Long id);

    void updateAddress(Address address);

    Address findDefatult(Long userId);
}
